﻿<%@ Page Title="" Language="C#" MasterPageFile="~/nest1.master" AutoEventWireup="true" CodeBehind="se_pub.aspx.cs" Inherits="WebApplication1.se_pub" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="Panel1" runat="server" Font-Names="Times New Roman" 
        Font-Size="Medium" HorizontalAlign="Center" BackColor="#1C1C1C"   ForeColor="#E6E154">
        <br />
        <br />
        <asp:Label ID="Label1" runat="server" Text="Publisher Name :" 
            Font-Names="Times New Roman" Font-Size="Large"></asp:Label>&nbsp;
        <asp:DropDownList ID="DropDownList1" runat="server" 
            Font-Names="Times New Roman" Font-Size="Large">
        </asp:DropDownList><br /><br />        
        <asp:Button ID="Button1" runat="server" Text="Display" 
            Font-Names="Times New Roman" Font-Size="Large" onclick="Button1_Click" />
        <br />
        <br />
        <asp:Label ID="errlbl" runat="server" Font-Names="Times New Roman" 
            Font-Size="Large" Text="Label" Visible="False"></asp:Label>
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" Height="100px" 
            HorizontalAlign="Center" Visible="False" Width="537px" 
            AutoGenerateColumns="False" BackColor="#543512">
            <Columns>

<asp:TemplateField HeaderText="Publisher No">

<ItemTemplate>

<asp:Literal ID="litpbno" runat="server" Text='<%# Eval("pbno")%>'> </asp:Literal>

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Name">

<ItemTemplate>

<asp:Literal ID="litname" runat="server" Text='<%# Eval("name")%>'> </asp:Literal>

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Address">

<ItemTemplate>

<asp:Literal ID="litaddr" runat="server" Text='<%# Eval("addr")%>'> </asp:Literal>

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Email-Id">

<ItemTemplate>

    <asp:Label ID="litmailid" runat="server" Text='<%# Eval("mail")%>'></asp:Label>
    

</ItemTemplate>

</asp:TemplateField>

<asp:TemplateField HeaderText="Description">

<ItemTemplate>

    <asp:Label ID="litdescr" runat="server" Text='<%# Eval("descr")%>'></asp:Label>
    

</ItemTemplate>

</asp:TemplateField>


</Columns>
            <HeaderStyle Font-Bold="True" Font-Names="Times New Roman" Font-Size="Medium" 
                Height="50px" BackColor="#043C31" />
        </asp:GridView>
        <br />
<br /> 
   </asp:Panel>  
</asp:Content>
